<template>
	<view>
		<view class="change-pwd">
			<!-- <input type="number" value="" password placeholder="请输入原密码"/> -->
			<uni-easyinput  class="input" :inputBorder="false" placeholder="请输入原密码" type="password"></uni-easyinput>
			<uni-easyinput class="input" :inputBorder="false" placeholder="请输入新密码" type="password"></uni-easyinput>
			<uni-easyinput class="input" :inputBorder="false" placeholder="请确认新密码" type="password"></uni-easyinput>
			<button type="default" class="btn" @click="changePwd()">确定</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {};
		},
		methods: {
			changePwd() {
				uni.showToast({
					icon: 'success',
					title: '修改成功',
					success() {
						uni.navigateTo({
							url: '/pages/login_form/login_form'
						})
					}
				})

			}
		}
	}
</script>

<style lang="scss">
	.change-pwd {
		display: flex;
		flex-direction: column;
		margin-top: 65rpx;

		.input {
			margin-top: 40rpx;
			margin-left: 95rpx;
			width: 560rpx;
			// height: 88rpx;
			background: #FFFFFF;
			box-shadow: 0rpx 5rpx 15rpx 0rpx rgba(0, 0, 0, 0.05);
			border-radius: 44rpx;

			font-size: 28rpx;
		}

		.btn {
			margin-top: 120rpx;
			width: 560rpx;
			height: 88rpx;
			background: linear-gradient(90deg, #E62129 0%, #BA000A 100%);
			box-shadow: 0rpx 5rpx 15rpx 0rpx rgba(0, 0, 0, 0.05);
			border-radius: 44rpx;
		}
	}
</style>
